package graph;

import java.io.File;
import java.util.Set;


public interface EdgesImpl {
	static class IdWeight {
		IdWeight(int id, double weight) {
			m_id = id;
			m_weight = weight;
		}

		int m_id;
		double m_weight;
	}
	
	abstract public void load(File file);
	abstract public IdWeight[] getEdgesFrom(int nodeId);
	abstract public void add(int nodeId, IdWeight[] idWeights);
	abstract public Set<Integer> getSrcNodes();
	abstract public Set<Integer> getDesNodes();
}
